<template>
  <a-config-provider component-size="middle" :locale="zhCN">
    <RouterView v-slot="{ Component }">
      <component :is="Component" />
    </RouterView>
  </a-config-provider>
</template>
<script setup lang="ts" name="APP">
import zhCN from "ant-design-vue/es/locale/zh_CN";
import dayjs from "dayjs";
import "dayjs/locale/zh-cn";
dayjs.locale("zh-cn");
</script>

<style scoped>
.global-loading {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  background-color: #4fa7ff2f;
}
</style>
